]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyring: Fix incorrect reference to the label instead of string
authorEvan Welsh <contact@evanwelsh.com>
Sat, 30 Oct 2021 22:09:39 +0000 (15:09 -0700)
committerMarge Bot <marge-bot@gnome.org>
Wed, 17 Nov 2021 10:19:08 +0000 (10:19 +0000)
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2036>

js/ui/components/keyring.js

index 8623f2fdd4cd835b4c3b513b64e94e7fffdf77fb..cd7a81e9579e62d991a1537b409331fe0f6f358e 100644 (file)
@@ -76,7 +76,7 @@ class KeyringDialog extends ModalDialog.ModalDialog {
             warning.opacity = this.prompt.warning_visible ? 255 : 0;
         });
         this.prompt.connect('notify::warning', () => {
-            if (this._passwordEntry && warning !== '')
+            if (this._passwordEntry && this.prompt.warning !== '')
                 Util.wiggle(this._passwordEntry);
         });
         warningBox.add_child(warning);